--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
docs/agents/skills/test-loop/SKILL.md 7a02eae651e4ffbcebd359f86d665d3cf509b5d9 (7a02eae6) Text, 1.06 KB
Tc9d1d9# Skill: test-loop
Focused verification with task/uv/pnpm without hanging shells.
Tc9d1d9# MeshChatX Test Loop
Tc9d1d9## Default order
Tff7b721. Lint/format only the touched surface if needed
Tff7b722. Focused unit tests for changed files
Tff7b723. Broader suite only if asked or if cross-cutting
Tc9d1d9## Preferred commands
Ta5d6ff```Ta5d6ffbash
T8b949e# Backend focused
uv run pytest tests/backend/test_<name>.py -q --tbTff7b72=short
T8b949e# Frontend focused
pnpm Tffa657exec vitest run tests/frontend/<Name>.test.js
T8b949e# Quick regression
task test:quick
T8b949e# Broader
task test:backend
task test:frontend
Ta5d6ff```
Tc9d1d9## Anti-hang rules
Tff7b72- Do not pipe long pytest runs through Ta5d6ff`| tail` in agent shells (blocks until process ends).
Tff7b72- Prefer Ta5d6ff`--tb=short` / Ta5d6ff`-q` and explicit file lists.
Tff7b72- Skip or isolate Ta5d6ff`long_running` / notification soak tests unless explicitly requested.
Tff7b72- Landlock apply tests: always subprocess.
Tc9d1d9## After UI edits
Ta5d6ff```Ta5d6ffbash
pnpm Tffa657exec eslint <changed.vue> --fix
pnpm Tffa657exec vitest run tests/frontend/<related>.test.js
Ta5d6ff```
Tc9d1d9## After identity / Landlock edits
Run the matching skill's verification section before claiming done.
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────